package com.briup.execrise.controller;


import com.briup.execrise.pojo.Student;
import com.briup.execrise.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class StudentController {
    @Autowired
    private StudentService studentService;
    @GetMapping("/find")
    public Student find(int id){
        Student student=studentService.select(id);
        return student;

    }
    public Student
}
